﻿using System;
using System.Collections.Generic;
using System.Text;

namespace LdCms.IBLL.Community
{
    using LdCms.EF.DbModels;
    public partial interface IThemeService:IBaseService<Ld_Community_Theme>
    {
        bool IsExists(int systemId, string companyId, string themeId);
        bool SaveTheme(Ld_Community_Theme entity, Ld_Community_ThemeContent content);
        bool UpdateTheme(Ld_Community_Theme entity, Ld_Community_ThemeContent content);
        bool UpdateThemeState(int systemId, string companyId, string themeId, bool state);
        bool DeleteTheme(int systemId, string companyId, string themeId);
        Ld_Community_Theme GetTheme(int systemId, string companyId, string themeId);
        List<Ld_Community_Theme> GetThemeTop(int systemId, string companyId, int count);
        List<Ld_Community_Theme> GetThemePaging(int systemId, string companyId, int pageId, int pageSize);
        List<Ld_Community_Theme> SearchTheme(int systemId, string companyId, string startTime, string endTime, string columnId, string top, string wonderful, string state, string keyword, int count);
        int CountTheme(int systemId, string companyId);
    }
}
